package shiyan5;
public class Date implements Comparable<Date> {
		private int[] birth;
		int i;
		public int compareTo(Date birth) {
			if(this.birth[i]>birth.birth[i]){
				return -1;
			}else if(this.birth[i]<birth.birth[i]){
				return 1;
			}else{
				return 0;
			}		
		}			
	}

